package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.pojo.HospitalGrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface HospitalGradeMapper {


    public HospitalGrade getHospitalGradeById(@Param(value = "id") Integer id);

    public List<HospitalGrade> getHospitalGradeListByMap(Map<String, Object> param);

    public Integer getHospitalGradeCountByMap(Map<String, Object> param);

    public Integer insertHospitalGrade(HospitalGrade hospitalGrade);

    public Integer updateHospitalGrade(HospitalGrade hospitalGrade);

    public Integer deleteHospitalGradeById(@Param(value = "id") Integer id);

    public Integer batchDeleteHospitalGrade(Map<String, List<String>> params);

}
